package cn.bugstack.mybatis.session;

/**
 * The primary Java interface for working with Mybatis.
 * Through this interface you can execute commands, get mappers and manage transaction.
 */
public interface SqlSession {


    <T> T selectOne(String statement);


    <T> T selectOne(String statement, Object parameter) throws Exception;



    <T> T getMapper(Class<T> type);



    Configuration getConfiguration();


}
